Skip to content

Conversation

eddelbuettel
Copy link
Member

Closes #481

We no longer pass down whether R uses its internal libRlapack library. This library uses to be insufficient, hence the need for a flag but should now be complete for our purposes, including for complex variables.

@eddelbuettel eddelbuettel requested a review from Copilot September 4, 2025 20:32
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the inference of insufficient LAPACK from libRlapack usage by commenting out or removing all code related to the ARMA_CRIPPLED_LAPACK flag. The change is based on the assumption that R's internal libRlapack library is now complete for RcppArmadillo's purposes, including for complex variables.

  • Removes ARMA_CRIPPLED_LAPACK configuration from header template
  • Comments out LAPACK detection logic in configure scripts
  • Eliminates the AC_SUBST substitution for ARMA_LAPACK

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
inst/include/RcppArmadillo/config/RcppArmadilloConfigGenerated.h.in Removes the ARMA_CRIPPLED_LAPACK conditional compilation block
configure.ac Comments out the arma_lapack variable assignments and AC_SUBST call
configure Comments out the generated configure script logic for LAPACK detection

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@eddelbuettel eddelbuettel force-pushed the feature/simpler_lapack_setup branch from 2b49dd6 to 4525749 Compare September 4, 2025 20:38
@eddelbuettel eddelbuettel merged commit 41c0bde into master Sep 4, 2025
4 checks passed
@eddelbuettel eddelbuettel deleted the feature/simpler_lapack_setup branch September 4, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider retiring LAPACK capabilities check

1 participant